package com.cy.service;

import com.cy.bean.Driverschoolassess;
import com.cy.mapper.AssessMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AssessServiceImpl implements AssessService{

    @Autowired
    private AssessMapper assessMapper;

    @Override
    public List<Driverschoolassess> getAssessList(int did, String startDay, String endDay) {
        return assessMapper.getAssessList(did, startDay, endDay);
    }

    @Override
    public int replyAssess(Driverschoolassess driverschoolassess) {
        return assessMapper.replyAssess(driverschoolassess);
    }
}
